<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>首页</h1>
<a th:href="@{/hello/testRequestMapping}">测试testRequestMapping位置</a><br>
<a th:href="@{/testRequestMapping}">测试RequestMapping的value属性-->testRequestMapping</a><br>
<a th:href="@{/test}">测试RequestMapping的value属性-->test</a>
<form th:action="@{test}" method="post">
    <input type="submit" value="测试testRequestMapping的method属性">
</form>
<a th:href="@{/testGetMapping}">测试GetMapping注解-->testGetMapping</a>
<form th:action="@{testPut}" method="put">
    <input type="submit" value="测试表单是否能提交Put Delete请求">
</form>
<a th:href="@{/testParamsAndHeaders(username='admin',password=123456)}">测试RequestMapping的value属性</a><br>
<a th:href="@{/a1a/testAnt}">测试RequestMapping匹配Ant风格的路径</a><br>
<a th:href="@{/testPath/1/2}">测试RequestMapping支持路径中的占位符</a><br>

</body>
</html>